//轮播图
	 	var mySwiper = new Swiper ('.swiper-container1', {
	     speed:300,
		  autoplay : {
		    delay:6000
		  },
	    loop: true,
	    pagination: {
	      el: '.swiper-pagination1',
	      clickable: true,
	    },
	  })

	 		// 产品列表
	var swiper3= new Swiper('.swiper-container4', {
	  speed:300,
	  loop:true,
      spaceBetween: 34,
      slidesPerView: 4,
      
      breakpoints: {
	    	1340: { 
		      slidesPerView: 3,
		    },
		    930: { 
		      slidesPerView: 3,
		    },
		    500: { 
		      slidesPerView: 2,
		    }
		    ,
		    420: { 
		      slidesPerView: 1,
		    }
		    
		  },
    });
	 $('.lb4 .nav_left').click(function(){
	    swiper3.slidePrev();
	  })
	  $('.lb4 .nav_right').click(function(){
	    swiper3.slideNext();
	  })  
	  $(".lb4 .swiper-slide").css("height",($(".lb4 .swiper-slide p").width()+80)/241*309+'px');
	  // $(window).resize(function() {
	  // 	window.location.reload()
	  // });



	$(function(){

		$(window).on("scroll",function(){


			//
			if(( $(".ppt2_main").offset().top - $(this).scrollTop()+100 ) < $(this).height()){
				var index12 = 0;
				var addClassOn12;
				addClassOn12 = setInterval(function(){
					if(index12 >= $(".ppt2_main .list").length){
						window.clearInterval(addClassOn12);
						return false
					}else {
						$(".ppt2_main .list").eq(index12).addClass("animated fadeIn").css("opacity",1);
						index12++
					}
							   
				},300);
			}




			//
			if(( $(".ppt3 .box").offset().top - $(this).scrollTop()+100 ) < $(this).height()){
				var index13 = 0;
				var addClassOn13;
				addClassOn13 = setInterval(function(){
					if(index13 >= $(".ppt3 .box .list").length){
						window.clearInterval(addClassOn13);
						return false
					}else {
						$(".ppt3 .box .list").eq(index13).addClass("animated fadeInUp").css("opacity",1);
						index13++
					}
							   
				},300);
			}



		})




	})